@echo off
if not exist "%JAVA_HOME%\bin\javaw.exe" echo Please set the JAVA_HOME variable in your environment, We need java(x64)! jdk8 or later is better! & EXIT /B 1

@REM start.cmd -Dserver.port=80 .\xxx.jar

setlocal enabledelayedexpansion

set COMMAND=javaw -jar %1

echo %COMMAND%

start /MIN /B %COMMAND%
